package com.blue.dto.job;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 定时任务表
 *
 * @author cnj
 * @email 15696471158@163.com
 * @date 2023-10-03
 */
@Data
public class ScheduledJobDTO implements Serializable {

	@Serial
	private static final long serialVersionUID = 1L;

	@TableId
	@Schema(description = "ID")
	private String id;

	@Schema(description = "全类名")
	private String className;

	@Schema(description = "方法参数")
	private String params;

	@Schema(description = "cron表达式")
	private String cronExpression;

	@Schema(description = "状态（0-正常,1-暂停)")
	private String jobStatus;

	@Schema(description = "备注")
	private String remark;

	@Schema(description = "创建者ID")
	private String creatorId;

	@Schema(description = "创建时间")
	private String createTime;

	@Schema(description = "最近更新者ID")
	private String updaterId;

	@Schema(description = "最近更新时间")
	private String updateTime;

}
